export default function getData() {
  return {
    tooltip: {
      trigger: 'axis',
      axisPointer: { // 坐标轴指示器，坐标轴触发有效
        type: 'shadow' // 默认为直线，可选为：'line' | 'shadow'
      }
    },
    legend: {
      bottom: 20,
      itemWidth: 8,
      itemHeight: 8,
      textStyle: {
        color: '#999'
      },
      data: ['大庆油田', '冀东油田', '克拉玛依', '西南油田', '西北油田']
    },
    grid: {
      left: 20,
      top: 20,
      right: 40,
      bottom: 50,
      containLabel: true
    },
    color: ['#49dd8a', '#3890df', '#5f6e7a', '#ffbb00', '#b8bdc2', '#749f83', '#ca8622', '#bda29a', '#6e7074', '#546570', '#c4ccd3'],
    xAxis: {
      type: 'value',
      axisLine: {
        show: false
      },
      axisLabel: {
        color: '#999'
      },
      axisTick: {
        show: false
      },
      splitLine: {
        show: false
      }
    },
    yAxis: {
      type: 'category',
      axisLine: {
        show: false
      },
      axisTick: {
        show: false
      },
      axisLabel: {
        color: '#999'
      },
      data: ['服务1', '服务2', '服务3', '服务4', '服务5']
    },
    series: [
      {
        name: '大庆油田',
        type: 'bar',
        stack: '总量',
        barWidth: 16,
        label: {
          normal: {
            show: true
          }
        },
        data: [320, 302, 301, 334, 390]
      },
      {
        name: '冀东油田',
        type: 'bar',
        stack: '总量',
        label: {
          normal: {
            show: true
          }
        },
        data: [120, 132, 101, 134, 90]
      },
      {
        name: '克拉玛依',
        type: 'bar',
        stack: '总量',
        label: {
          normal: {
            show: true
          }
        },
        data: [220, 182, 191, 234, 290]
      },
      {
        name: '西南油田',
        type: 'bar',
        stack: '总量',
        label: {
          normal: {
            show: true
          }
        },
        data: [150, 212, 201, 154, 190]
      },
      {
        name: '西北油田',
        type: 'bar',
        stack: '总量',
        label: {
          normal: {
            show: true
          }
        },
        data: [820, 832, 901, 934, 1290]
      }
    ]
  }
}
